.message_panel {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  .bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .mp_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    height: 98%;
    width: 650px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    .mpb_left {
      width: 80px;
      height: 100%;
      background: $ar_color;
      div {
        height: 50px;
        line-height: 50px;
        text-align: center;
        color: white;
        font-size: 16px;
        font-weight: bold;
        user-select: none;
      }
      div:hover {
        cursor: pointer;
      }
    }
    .mpb_right {
      width: calc(100% - 80px);
      height: 100%;
      padding: 5px 0px;
      box-sizing: border-box;
      .box {
        width: 100%;
        height: 100%;
        .com_item {
          padding: 10px 20px;
          box-sizing: border-box;
          .namebox {
            display: flex;
            position: relative;
            span {
              font-size: 15px;
              color: rgb(177, 175, 175);
            }
            .child_avatars {
              height: 50px;
              width: 50px;
              overflow: hidden;
              margin-right: 10px;
              img {
                height: 100%;
                width: 100%;
                object-fit: cover;
                border-radius: 5px;
              }
            }
            .child_info {
              .from {
                height: 25px;
                line-height: 25px;
              }
              .c_time {
                height: 25px;
                line-height: 25px;
                font-size: 13px;
                color: rgb(85, 85, 85);
              }
            }
            .new {
              position: absolute;
              right: 0px;
              top: 10px;
              text-align: right;
              padding: 3px 7px;
              background: rgb(240, 81, 81);
              font-size: 12px;
              color: white;
              border-radius: 5px;
            }
          }
          .c_content {
            line-height: 25px;
            margin: 10px 0px;
            margin-left: 60px;
            font-size: 14px;
            vertical-align: middle;
            color: rgb(121, 121, 121);
            .item_comment {
              margin: 5px 0px;
              border-left: 3px solid #d1d1d1;
              padding: 0px 5px;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
            }
            .con_box {
              background: #f7f7fc;
              padding: 5px 15px;
              border-radius: 5px;
              line-height: 25px;
              font-size: 14px;
              color: rgb(82, 82, 82);
            }
          }
          .c_other {
            margin-left: 20px;
            text-align: right;
            i {
              color: rgb(194, 194, 194);
              margin-left: 15px;
            }
            i:hover {
              cursor: pointer;
            }
          }
        }
      }
    }
  }
}
.from {
  margin-right: 10px;
  color: $ar_color !important;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.to {
  color: $ar_color !important;
  margin: 0px 10px;
  font-weight: bold;
  font-size: 15px;
}
.active {
  background: white;
  color: $ar_color !important;
  border-right: 1px solid #ccc;
}
.isAdmin {
  color: white;
  background: #3d9eca !important;
  font-size: 10px;
  padding: 0px 5px;
  height: 20px;
  line-height: 20px;
  border-radius: 5px;
  margin-left: 5px;
}
/deep/ .el-button--primary {
  background: $ar_color;
}
/deep/ .el-textarea__inner:focus {
  border-color: $ar_color;
}
/deep/ .el-input__inner:focus {
  border-color: $ar_color;
}
